//
//  PingTime.h
//  CoinEgg_App
//
//  Created by tjl on 2018/7/9.
//  Copyright © 2018年 tjl. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WHPingTester.h"
#import <UIKit/UIKit.h>

@interface PingTime : NSObject <WHPingDelegate>

@property(nonatomic, strong) WHPingTester* pingTester;

@property (nonatomic, copy)void(^timeBlock)(int);

//初始化
- (instancetype)initWithHostName:(NSString *)host time:(void(^)(int time))timeBlock;

@end
